home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 2004 Junue - Disc 1 / MacFormat 143 CD1.iso / Serious Software / RealCADD3.05.sit / RealCADD3.05 / scripts / X1Xscript < prev    next >
Text File  |  2003-04-11  |  598b  |  47 lines

  1. RCAD script
  2. 1.00
  3. X1Xscript
  4. X1Xup.pict
  5. X1Xdown.pict
  6. 5
  7. 0
  8. 1
  9. Before
  10. First number
  11. After
  12. Font
  13. Size
  14.  
  15.  
  16.  
  17.  
  18.  
  19. X
  20. 1
  21. X
  22. Helvetica
  23. 18
  24.  
  25.  
  26.  
  27.  
  28.  
  29. Dim s_xc, s_yc as double
  30. Dim s_t as integer
  31. Dim s_String as string
  32.  
  33. if GlobalScript1 < 0 then
  34.    GlobalScript1 = 0
  35.    GlobalScript2 = val(UserInput2)
  36. else
  37.    GlobalScript2 = GlobalScript2 + 1
  38. end if
  39. s_xc = (firstx + lastx) / 2
  40. s_yc = (firsty + lasty) / 2
  41. s_t = val(UserInput5)
  42. s_String = UserInput1 + Str(GlobalScript2) + UserInput3
  43. if (s_String <> "") and (s_t > 0) then
  44.    Add_String(s_String,s_xc, s_yc + s_t/2,s_t,1,false,false,false,7,0,UserInput4,false,false,0)
  45. end if
  46.  
  47.